fetchAsset

abstract suspend fun fetchAsset(sourceId: String, assetId: String, options: FetchAssetOptions = FetchAssetOptions()): Asset?

Fetch a specific asset by ID from an asset source.

Return

the asset result.

Parameters

sourceId

the ID of the asset source to search in.

assetId

the ID of the asset to fetch.

options

options for fetching the asset, including locale.